import { useAccount } from "@/stores/account";
import { useLayout } from "@/stores/layout";
/**打开注册登录框 */
export default function () {
    const account = useAccount();
    const layout = useLayout();
    if(layout.isMobile){
        location.href = "/login"
    }
    else{
        account.changePopLogin(true);
    }
    
}